package com.ruoyi.stock.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 持仓咨询对象 stock_inquery
 * 
 * @author ruoyi
 * @date 2024-12-30
 */
@Data
@ApiModel()
public class StockInquery extends HeaderFileld
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 齐全结构 */
   // @Excel(name = "期权结构")
    @ApiModelProperty(value = "期权结构")
    private String stockStructue;


    /** 时间周期 */
    //@Excel(name = "时间周期")
    @ApiModelProperty(value = "时间周期")
    private String timePerion;

    /** 名义本金 */
  //  @Excel(name = "名义本金")
    @ApiModelProperty(value = "名义本金")
    private String notionalPrincipal;

    /** 敲出票息 */
 //   @Excel(name = "敲出票息")
    @ApiModelProperty(value = "敲出票息")
    private String qcpx;

    /** 保证金比例 */
  //  @Excel(name = "保证金比例")
    @ApiModelProperty(value = "保证金比例")
    private String marginRatio;

    //是否有效
    private Byte isVaild;

    public Byte getIsVaild() {
        return isVaild;
    }

    public void setIsVaild(Byte isVaild) {
        this.isVaild = isVaild;
    }

    /** 状态（0正常 1停用） */
    private String status;

    ///////字段查询
    private  String fieldParam;

    public String getFieldParam() {
        return fieldParam;
    }

    public void setFieldParam(String fieldParam) {
        this.fieldParam = fieldParam;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }


    public String getTimePerion() {
        return timePerion;
    }

    public void setTimePerion(String timePerion) {
        this.timePerion = timePerion;
    }

    public void setStockStructue(String stockStructue)
    {
        this.stockStructue = stockStructue;
    }

    public String getStockStructue() 
    {
        return stockStructue;
    }
    public void setNotionalPrincipal(String notionalPrincipal) 
    {
        this.notionalPrincipal = notionalPrincipal;
    }

    public String getNotionalPrincipal() 
    {
        return notionalPrincipal;
    }

    public void setQcpx(String qcpx) 
    {
        this.qcpx = qcpx;
    }

    public String getQcpx() 
    {
        return qcpx;
    }
    public void setMarginRatio(String marginRatio) 
    {
        this.marginRatio = marginRatio;
    }

    public String getMarginRatio() 
    {
        return marginRatio;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("timePerion", getTimePerion())
            .append("stockStructue", getStockStructue())
            .append("notionalPrincipal", getNotionalPrincipal())
            .append(" securityCode", getSecurityCode())
            .append(" securityName", getSecurityName())
            .append("qcpx", getQcpx())
            .append("marginRatio", getMarginRatio())
            .append("status", getStatus())
            .toString();
    }
}
